/**
 * 
 */
package com.gaolinjie.routes;

import com.gaolinjie.controller.IndexController;
import com.gaolinjie.interceptor.FrontInterceptor;
import com.jfinal.config.Routes;

/**
 * @author jinyulinlang 2018年7月15日
 */
public class FrontRoute extends Routes {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.jfinal.config.Routes#config()
	 */
	@Override
	public void config() {
		setBaseViewPath("/front");
		addInterceptor(new FrontInterceptor());
		add("/", IndexController.class);
	}

}
